function getMenus(sysNo) {

    var handler = new HttpHandler("BP.WF.HttpHandler.WF_Portal");

    var data = handler.DoMethodReturnString("Default_Init");
    if (data.indexOf('err@') == 0) {
        alert(data);
        return;
    }
    if (data.indexOf('url@') == 0) {
        var url = data.replace('url@', '');
        window.location.href = url;
        return;
    }
    data = JSON.parse(data);
    //去除默认的功能，全部按照配置来实现
    var adminSys = data.System.filter(item => item.No != 'Flows' && item.No != 'Frms' && item.No != 'System');
    
    if (sysNo == undefined) {
        sysNo = GetQueryString("sysNo");
    }

    switch (sysNo) {
        case "xmxqsb":
            data.System = data.System.filter(item => item.No == '6d25290c-e');
            break;
        case "zjzxfw":
            data.System = data.System.filter(item => item.No == 'b2cb0d13-4');
            break;
        case "ywzgbm":
            data.System = data.System.filter(item => item.No == '82998bfe-7');
            break;
        case "xmzxjk":
            data.System = data.System.filter(item => item.No == '512516bf-b');
            break;
        case "xlzygx":
            data.System = data.System.filter(item => item.No == '7d49d01a-3');
            break;
        case "cjkcpk":
            data.System = data.System.filter(item => item.No == '73e52328-f');
            break;
        case "zcfgcx":
            data.System = data.System.filter(item => item.No == '47f41014-a');
            break;
        case "xtyxwh":
            data.System = data.System.filter(item => item.No == 'afcc548a-6');
            break;
        default:
            data.System = [];
            break;
    }
    var userNo = GetQueryString("UserNo");
    if (userNo == "admin") {
        data.System = adminSys;
    }
    return data;
}